package com.powernode.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.powernode.domain.Prod;
import com.baomidou.mybatisplus.extension.service.IService;
import com.powernode.dto.ChangeDto;

import java.util.Date;
import java.util.List;

/**
 *
 */
public interface ProdService extends IService<Prod> {

    Page<Prod> getProdPage(Page<Prod> page, Prod prod);

    void addProd(Prod prod);


    List<Prod> selectDbData(Page<Prod> prodPage, Date start,Date end);


    Prod getProdList(Long prodId);

    void changeDBOrder(ChangeDto changeDto);
}
